package com.broada.apm.threshold;

public class ThresholdRule {
	public static enum Type {
		APP, TRADE
	}
	
	private String resId;
	private String field;
	private Double[] thresholds;
	private Integer[] severity;
	private int times;
//	private Map<String, String> validTime;
	
	public ThresholdRule(String resId, String field, Double[] thresholds, Integer[] severity, int times) {
		this.resId = resId;
		this.field = field;
		this.thresholds = thresholds;
		this.severity = severity;
		this.times = times;
//		this.validTime = validTime;
	}
	public String getResId() {
		return resId;
	}
	public void setResId(String resId) {
		this.resId = resId;
	}
	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}
	public Double[] getThresholds() {
		return thresholds;
	}
	public void setThresholds(Double[] thresholds) {
		this.thresholds = thresholds;
	}
	public Integer[] getSeverity() {
		return severity;
	}
	public void setSeverity(Integer[] severity) {
		this.severity = severity;
	}
	public int getTimes() {
		return times;
	}
	public void setTimes(int times) {
		this.times = times;
	}
//	public Map<String, String> getValidTime() {
//		return validTime;
//	}
//	public void setValidTime(Map<String, String> validTime) {
//		this.validTime = validTime;
//	}
	
}
